package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_WanliPrepaymentPooling", catalog="Id")
public class TcwWanliPrepaymentPooling extends BaseEntity<TcwWanliPrepaymentPooling> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="FkMid", nameJava="fkMid", typeDataBase="varchar")
	private String fkMid;
	@YsField(nameDataBase="PayerAccountNo", nameJava="payerAccountNo", typeDataBase="varchar")
	private String payerAccountNo;
	@YsField(nameDataBase="PayerName", nameJava="payerName", typeDataBase="varchar")
	private String payerName;
	@YsField(nameDataBase="FkVyhsx", nameJava="fkVyhsx", typeDataBase="tinyint")
	private Integer fkVyhsx;
	@YsField(nameDataBase="SkMid", nameJava="skMid", typeDataBase="varchar")
	private String skMid;
	@YsField(nameDataBase="BeneficiaryAccountNo", nameJava="beneficiaryAccountNo", typeDataBase="varchar")
	private String beneficiaryAccountNo;
	@YsField(nameDataBase="BeneficiaryName", nameJava="beneficiaryName", typeDataBase="varchar")
	private String beneficiaryName;
	@YsField(nameDataBase="SkVyhsx", nameJava="skVyhsx", typeDataBase="tinyint")
	private Integer skVyhsx;
	@YsField(nameDataBase="TransactionType", nameJava="transactionType", typeDataBase="varchar")
	private String transactionType;
	@YsField(nameDataBase="OriginalTransactionAmount", nameJava="originalTransactionAmount", typeDataBase="decimal")
	private BigDecimal originalTransactionAmount;
	@YsField(nameDataBase="JyCurrencyCode", nameJava="jyCurrencyCode", typeDataBase="varchar")
	private String jyCurrencyCode;
	@YsField(nameDataBase="ExtTransactionId", nameJava="extTransactionId", typeDataBase="varchar")
	private String extTransactionId;
	@YsField(nameDataBase="TransactionId", nameJava="transactionId", typeDataBase="varchar")
	private String transactionId;
	@YsField(nameDataBase="TransactionTime", nameJava="transactionTime", typeDataBase="varchar")
	private String transactionTime;
	@YsField(nameDataBase="TransactionStatus", nameJava="transactionStatus", typeDataBase="varchar")
	private String transactionStatus;
	@YsField(nameDataBase="Description", nameJava="description", typeDataBase="varchar")
	private String description;
	@YsField(nameDataBase="ReconciliationStatus", nameJava="reconciliationStatus", typeDataBase="tinyint")
	private Integer reconciliationStatus;
	@YsField(nameDataBase="RecordedStatus", nameJava="recordedStatus", typeDataBase="tinyint")
	private Integer recordedStatus;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwWanliPrepaymentPooling setId(Long id) {
		this.id = id;
		return this;
	}
	public String getFkMid() {
		return fkMid;
	}
	public TcwWanliPrepaymentPooling setFkMid(String fkMid) {
		this.fkMid = fkMid;
		return this;
	}
	public String getPayerAccountNo() {
		return payerAccountNo;
	}
	public TcwWanliPrepaymentPooling setPayerAccountNo(String payerAccountNo) {
		this.payerAccountNo = payerAccountNo;
		return this;
	}
	public String getPayerName() {
		return payerName;
	}
	public TcwWanliPrepaymentPooling setPayerName(String payerName) {
		this.payerName = payerName;
		return this;
	}
	public Integer getFkVyhsx() {
		return fkVyhsx;
	}
	public TcwWanliPrepaymentPooling setFkVyhsx(Integer fkVyhsx) {
		this.fkVyhsx = fkVyhsx;
		return this;
	}
	public String getSkMid() {
		return skMid;
	}
	public TcwWanliPrepaymentPooling setSkMid(String skMid) {
		this.skMid = skMid;
		return this;
	}
	public String getBeneficiaryAccountNo() {
		return beneficiaryAccountNo;
	}
	public TcwWanliPrepaymentPooling setBeneficiaryAccountNo(String beneficiaryAccountNo) {
		this.beneficiaryAccountNo = beneficiaryAccountNo;
		return this;
	}
	public String getBeneficiaryName() {
		return beneficiaryName;
	}
	public TcwWanliPrepaymentPooling setBeneficiaryName(String beneficiaryName) {
		this.beneficiaryName = beneficiaryName;
		return this;
	}
	public Integer getSkVyhsx() {
		return skVyhsx;
	}
	public TcwWanliPrepaymentPooling setSkVyhsx(Integer skVyhsx) {
		this.skVyhsx = skVyhsx;
		return this;
	}
	public String getTransactionType() {
		return transactionType;
	}
	public TcwWanliPrepaymentPooling setTransactionType(String transactionType) {
		this.transactionType = transactionType;
		return this;
	}
	public BigDecimal getOriginalTransactionAmount() {
		return originalTransactionAmount;
	}
	public TcwWanliPrepaymentPooling setOriginalTransactionAmount(BigDecimal originalTransactionAmount) {
		this.originalTransactionAmount = originalTransactionAmount;
		return this;
	}
	public String getJyCurrencyCode() {
		return jyCurrencyCode;
	}
	public TcwWanliPrepaymentPooling setJyCurrencyCode(String jyCurrencyCode) {
		this.jyCurrencyCode = jyCurrencyCode;
		return this;
	}
	public String getExtTransactionId() {
		return extTransactionId;
	}
	public TcwWanliPrepaymentPooling setExtTransactionId(String extTransactionId) {
		this.extTransactionId = extTransactionId;
		return this;
	}
	public String getTransactionId() {
		return transactionId;
	}
	public TcwWanliPrepaymentPooling setTransactionId(String transactionId) {
		this.transactionId = transactionId;
		return this;
	}
	public String getTransactionTime() {
		return transactionTime;
	}
	public TcwWanliPrepaymentPooling setTransactionTime(String transactionTime) {
		this.transactionTime = transactionTime;
		return this;
	}
	public String getTransactionStatus() {
		return transactionStatus;
	}
	public TcwWanliPrepaymentPooling setTransactionStatus(String transactionStatus) {
		this.transactionStatus = transactionStatus;
		return this;
	}
	public String getDescription() {
		return description;
	}
	public TcwWanliPrepaymentPooling setDescription(String description) {
		this.description = description;
		return this;
	}
	public Integer getReconciliationStatus() {
		return reconciliationStatus;
	}
	public TcwWanliPrepaymentPooling setReconciliationStatus(Integer reconciliationStatus) {
		this.reconciliationStatus = reconciliationStatus;
		return this;
	}
	public Integer getRecordedStatus() {
		return recordedStatus;
	}
	public TcwWanliPrepaymentPooling setRecordedStatus(Integer recordedStatus) {
		this.recordedStatus = recordedStatus;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TcwWanliPrepaymentPooling setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwWanliPrepaymentPooling setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwWanliPrepaymentPooling setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwWanliPrepaymentPooling setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwWanliPrepaymentPooling tcwWanliPrepaymentPooling(
		String fkMid,
		String payerAccountNo,
		String payerName,
		Integer fkVyhsx,
		String skMid,
		String beneficiaryAccountNo,
		String beneficiaryName,
		Integer skVyhsx,
		String transactionType,
		BigDecimal originalTransactionAmount,
		String jyCurrencyCode,
		String extTransactionId,
		String transactionId,
		String transactionTime,
		String transactionStatus,
		String description,
		Integer reconciliationStatus,
		Integer recordedStatus,
		String vgsbm,
		Integer status
			) {
		TcwWanliPrepaymentPooling entity = new TcwWanliPrepaymentPooling();
		entity.setFkMid(fkMid);
		entity.setPayerAccountNo(payerAccountNo);
		entity.setPayerName(payerName);
		entity.setFkVyhsx(fkVyhsx);
		entity.setSkMid(skMid);
		entity.setBeneficiaryAccountNo(beneficiaryAccountNo);
		entity.setBeneficiaryName(beneficiaryName);
		entity.setSkVyhsx(skVyhsx);
		entity.setTransactionType(transactionType);
		entity.setOriginalTransactionAmount(originalTransactionAmount);
		entity.setJyCurrencyCode(jyCurrencyCode);
		entity.setExtTransactionId(extTransactionId);
		entity.setTransactionId(transactionId);
		entity.setTransactionTime(transactionTime);
		entity.setTransactionStatus(transactionStatus);
		entity.setDescription(description);
		entity.setReconciliationStatus(reconciliationStatus);
		entity.setRecordedStatus(recordedStatus);
		entity.setVgsbm(vgsbm);
		entity.setStatus(status);
		return entity;
	}
}